#define _CRT_SECURE_NO_WARNINGS 1
int Add(int num1, int num2) {
    int n1 = num1;
    int n2 = num2;
    while (n1 & n2)
    {
        int tmp = n1;
        n1 = (n1 & n2) << 1;
        n2 = tmp ^ n2;
    }
    return n1 | n2;
}